<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<div class="show-info">
    <table class="tab-show">
    	<colgroup>
    		<col width="18%">
    		<col width="28%">
    		<col width="18%">
    	</colgroup>
  		<tr>
	    	<th>
            	<label>书名称：</label>
        	</th>
         	<td>${model.bookName }</td>
	    	<th>
            	<label>作者：</label>
        	</th>
         	<td>${model.author }</td>
		</tr>
		
		<tr>
	    	<th>
            	<label>图片：</label>
        	</th>
         	<td colspan="3"><img src="${model.imgPath }" height="90" class="imgPreview_plugin"></td>
		</tr>
		
        <tr>
	    	<th>
            	<label>购买日期：</label>
        	</th>
         	<td>${model.buyDate }</td>
	    	<th>
            	<label>购买价格：</label>
        	</th>
         	<td>${model.buyPrice }元</td>
		</tr>
		
        <tr>
	    	<th>
            	<label>借阅状态：</label>
        	</th>
         	<td>
				<!-- 自定义标签，输出枚举值，=连接键值对 |连接不同组 -->
	   			<shield:switchOput data="0=可借阅|1=已借阅|2=其他" value="${model.borrowState }"></shield:switchOput>
			</td>
	    	<th>
            	<label>当前借阅人：</label>
        	</th>
         	<td>${model.borrowerName }</td>
		</tr>
		
        <tr>
	    	<th>
            	<label>创建人姓名：</label>
        	</th>
         	<td>${model.createName }</td>
	    	<th>
            	<label>创建时间：</label>
        	</th>
         	<td>${model.createTime }</td>
		</tr>
		
        <tr>
	    	<th>
            	<label>修改人姓名：</label>
        	</th>
         	<td>${model.updateName }</td>
	    	<th>
            	<label>修改时间：</label>
        	</th>
         	<td>${model.updateTime }</td>
		</tr>
		
        <tr>
	    	<th>
            	<label>状态：</label>
        	</th>
         	<td colspan="3"><shield:switchOput data="0=正常|-1=删除" value="${model.state }"></shield:switchOput></td>
		</tr>
    </table>
    <div class="opt"></div>
</div>